.search-field {
    padding-left: 35px !important;
    background-position: 8px -13px;
}


/* === Base Layout === */
.pd-container {
    display: flex;
    font-size: 14px;
    color: #333333;
    overflow: hidden;
}
.pd-container {
}
/* === Sidebar === */
.pd-sidebar {
    flex: 0 0 250px;
    background: #FFFFFF;
    border: 1px solid #dddddd;
    padding: 15px;
    position: relative;
    z-index: 1000;
    margin-right: 20px;
	font-weight: 600;
}
.pd-sidebar-header label {
    font-size: 20px;
    font-weight: 700;
    color: black;
    padding: 0px 10px 20px 10px;
    display: block;
}

/* Filter toggle button (hidden on desktop) */
.pd-button {
    color: #fff;
    border: none;
    padding: 5px 10px;
    margin: 10px 0px 10px 10px;
    border-radius: 4px;
    font-size: 13px;
    cursor: pointer;
    background: var(--pd-secondary);
}

.pd-listoptions {
    text-align: right;
    margin: 10px 0px;
    user-select: none;
    float: right;
    align-self: anchor-center;
    display: inline-flex;
}

    .pd-listoptions svg {
        padding: 5px;
        width: 25px;
        height: 25px;
    }

    .pd-listoptions > div {
        border: 1px solid #ddd;
        display: inline-block;
    }

.pd-option {
    display: inline-flex;
    padding: 3px;
    cursor: pointer;
    vertical-align: middle;
    float: left;
}

.pd-listoptions .selected {
    border: 1px solid var(--pd-primary);
}

.pd-listoptions g g {
    fill: var(--pd-secondary);
}

.pd-listoptions .selected g g {
    fill: var(--pd-primary);
}

.pd-filter-toggle {
    float: right;
    display: none;
    background: var(--pd-primary) url("filter-empty.svg") no-repeat center/contain;
    width: 35px;
}

    .pd-filter-toggle.filled {
        background: url('filter.svg') no-repeat center contain;
        background: var(--pd-primary) url("filter.svg") no-repeat center/contain;
    }

.pd-filter {
    display: block;
    margin-bottom: 10px;
}

    .pd-filter:has(.pd-filter-header) {
        display: block;
        padding: 10px 15px;
        cursor: pointer;
    }

#pd-filter-menu h4 {
    font-size: 13px;
    font-weight: bold;
    margin: 15px 0 8px;
    color: #444444;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#pd-filter-menu div {
    user-select: none;
}

#pd-filter-menu label {
    cursor: pointer;
    display: flex;
    align-items: center;
    font-size: 13px;
    color: #333333;
    transition: color 0.2s ease;
    font-weight: 400;
    user-select: none;
}

    #pd-filter-menu label:hover {
        color: var(--pd-primary);
    }

#pd-filter-menu input[type="checkbox"],
#pd-filter-menu input[type="radio"] {
    margin-right: 6px;
    accent-color: var(--pd-primary);
    /* modern browsers */
}

.pd-filter-node {
    padding: 5px;
}

    .pd-filter-node .pd-child-filters {
        padding: 10px 0px;
    }

    .pd-filter-node.expanded, .pd-filter-node.collapsed {
        margin: 5px 0px;
        background: lightgray;
        border: 2px white solid;
        border-radius: 15px;
        padding: 10px 15px;
    }

        .pd-filter-node.expanded > label > input[type="checkbox"], .pd-filter-node.collapsed > label > input[type="checkbox"] {
            display: none;
        }

.pd-filter label {
    padding: 0px;
    margin: 0px;
}

.pd-search {
    margin-bottom: 5px;
    display: flex;
    max-width: 800px;
    margin: auto;
    width: 70%;
}

    .pd-search input {
        width: calc(100% - 75px);
        padding: 8px 10px;
        border: 1px solid #cccccc;
        border-radius: 4px;
        font-size: 13px;
        color: #333333;
        transition: border-color 0.2s ease;
        align-self: anchor-center;
    }

        .pd-search input:focus {
            outline: none;
            border-color: var(--pd-primary);
            box-shadow: 0 0 3px rgba(0, 123, 255, 0.4);
        }

/* === Content Area === */
.pd-content {
    flex: 1;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #dddddd;
}

.pd-content-header {
    margin-bottom: 10px;
    display: flex;
}

#pd-data-container {
    padding: 20px;
}

.pd-total {
    text-align: right;
    padding: 10px;
    font-weight: 400;
    border-bottom: 1px solid #ddd;
}

.pd-section-title {
    font-weight: bold;
    font-size: 16px;
    margin: 0px 0 12px;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 5px;
    color: var(--pd-primary);
}

.pd-clear {
    font-size: 10px;
    margin-top: 7px;
    cursor: pointer;
    color: var(--pd-primary);
    font-weight: 500;
}

/* === Items Grid === */
.pd-items {
    display: grid;
    gap: 15px;
    margin-bottom: 30px;
}

.listview .pd-items {
    gap: 0px;
}
.listview .pd-items .item{
    border-bottom: 1px solid #D9D9D9 !important;    
}
.listview .pd-items .item:last-child{
    border-bottom: 0px solid #D9D9D9 !important;    
}

.pd-items .card {
    padding: 14px 12px;
}

/* === Pagination === */
#pd-pagination {
    display: flex;
    justify-content: center;
    padding: 20px;
    gap: 6px;
    flex-wrap: wrap;
    user-select: none;
    border-top: 1px solid #ddd;
}

    #pd-pagination button {
        padding: 10px;
        margin: 3px;
        border: 1px solid #cccccc;
        background: #ffffff;
        border-radius: 50px;
        cursor: pointer;
        font-size: 13px;
        line-height: 1px;
        transition: all 0.2s ease;
        color: var(--pd-secondary);
        height: 26px;
    }

        #pd-pagination button:hover {
            background: #f1f1f1;
        }

        #pd-pagination button.active {
            background: var(--pd-primary);
            color: #ffffff;
            border-color: var(--pd-primary);
        }

    #pd-pagination .pd-total {
        border: 0px;
        width: 100%;
        text-align: center;
        padding: 0px;
    }

.pd-pagesize-wrapper {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    font-size: 14px;
}

.pd-page-size {
    padding: 3px 2px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    width: auto;
    height: auto;
}


/* === Scrollbar Styling (Sidebar) === */
.pd-sidebar::-webkit-scrollbar {
    width: 6px;
}

.pd-sidebar::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.pd-sidebar::-webkit-scrollbar-thumb {
    background: #bbbbbb;
    border-radius: 3px;
}

    .pd-sidebar::-webkit-scrollbar-thumb:hover {
        background: #999999;
    }

.pd-subcats div {
    margin-left: 10px;
}

.pd-filter-header {
    color: var(--pd-primary);
    font-weight: 500;
    display: flow-root;
}

.pd-parent-header {
    cursor: pointer;
    font-weight: 500;
    color: black;
    margin-bottom: 5px;
}

.collapsed, .expanded {
    display: flow-root;
}

    .collapsed::before, .expanded::before {
        margin-top: 6px;
        font-size: 15px;
        line-height: 15px;
        float: right;
        font-family: monospace;
        font-weight: bold;
    }

    .collapsed::before {
        content: ">";
        rotate: 90deg;
    }

    .expanded::before {
        content: ">";
        rotate: 270deg;
    }

/* Loading */
.pd-loading {
    /* position: absolute; */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    margin: 20px;
}

    .pd-loading.full {
        margin: auto;
        height: 100%;
        width: 100%;
        z-index: 9999;
        position: fixed;
    }

.pd-spinner {
    border: 3px solid #ddd;
    border-top: 3px solid var(--pd-primary);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.pd-hidden {
    display: none;
}

.pd-show-toggle {
    color: var(--pd-primary);
    cursor: pointer;
    font-size: 12px;
    margin: 5px 0 10px 5px;
    text-align: center;
    font-weight: 500;
}

    .pd-show-toggle.more::before {
        Content: ">>";
        transform: translate(-10px, -2px) rotate(90deg);
        position: absolute;
        letter-spacing: -3px;
        font-family: monospace;
    }

    .pd-show-toggle.less::before {
        Content: ">>";
        transform: translate(-10px, 2px) rotate(270deg);
        position: absolute;
        letter-spacing: -3px;
        font-family: monospace;
    }

/* Eye toggle styling */
.pd-mask-toggle {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    vertical-align: middle;
}

.pd-eye {
    display: inline-block;
    width: 16px; /* Adjust as needed */
    height: 16px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    vertical-align: middle;
    cursor: pointer;
}

    /* Eye icon when value is masked (show icon) */
    .pd-eye.open {
        background-image: url('show.svg'); /* Eye open (user can click to show full value) */
    }

    /* Eye icon when value is visible (hide icon) */
    .pd-eye.closed {
        background-image: url('hide.svg'); /* Eye closed (user can click to mask value) */
    }

/* Hover visual feedback */
.pd-mask-toggle:hover .pd-eye {
    border-color: #333;
}

    .pd-mask-toggle:hover .pd-eye::after {
        background: #333;
    }
/*alphabet*/
.pd-alphabet-header {
    display: flex;
    margin-bottom: 40px;
}

.pd-alphabet-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin: auto;
}

.pd-letter {
    cursor: pointer;
    padding: 4px 6px;
    user-select: none;
    color: var(--pd-primary);
    font-size: 12px;
    font-weight: bold;
    align-items: center;
    display: flex;
}

    .pd-letter.selected {
        color: var(--pd-secondary);
        font-size: 18px;
    }

/*sort*/
.pd-sortby {
    /*display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;*/
}

    .pd-sortby span {
        margin-left: auto;
    }

    .pd-sortby label {
        font-weight: 500;
        color: var(--pd-secondary);
        width: max-content;
        margin-left: 10px;
    }

.pd-select {
    padding: 4px 2px;
    border: 1px solid #ccc;
    border-radius: 6px;
    height: auto;
    width: auto;
}

    .pd-select:focus {
        outline: 0;
    }

.select::-ms-expand {
    max-height: 150px
}


/* === Responsive === */
@media (max-width: 1024px) {

    .pd-listoptions {
        float: none;
        display: flex;
    }

        .pd-listoptions > div {
            margin-left: auto;
        }

    .pd-content-header {
        display: block;
    }

    .pd-container {
        flex-direction: column;
        border: 0px;
        background: transparent;
    }

    .pd-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        /* hidden by default */
        width: 80%;
        height: 100%;
        background: #fff !important;
        border-right: 1px solid #ddd;
        padding: 15px;
        overflow-y: auto;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
        transition: left 0.3s ease;
        z-index: 2000;
    }

        .pd-sidebar.open {
            left: 0;
            /* slide in */
        }

    .pd-filter-toggle {
        display: inline-block;
        /* show only on mobile */
    }

    /* Optional overlay when sidebar is open */
    .pd-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1500;
    }

        .pd-overlay.active {
            display: block;
        }

    .pd-content {
        padding: 15px;
    }

    .pd-search {
        max-width: unset;
        width: unset;
    }

        .pd-search input {
            width: calc(100% - 125px);
        }

    .pd-sortby label {
        margin-left: 0px;
    }
}
/* Switch wrapper */
.pd-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    color: var(--pd-secondary, #333);
    gap: 8px;
}

    /* Hide the default radio input */
    .pd-switch input[type="checkbox"] {
        opacity: 0;
        width: 0;
        height: 0;
        position: absolute;
    }

    /* Slider track */
    .pd-switch .slider {
        position: relative;
        width: 42px;
        height: 22px;
        background-color: #ccc;
        border-radius: 34px;
        transition: background-color 0.3s ease;
    }

        /* Slider knob */
        .pd-switch .slider::before {
            content: "";
            position: absolute;
            left: 2px;
            top: 2px;
            width: 18px;
            height: 18px;
            background-color: #fff;
            border-radius: 50%;
            transition: transform 0.3s ease;
        }

    /* Checked state */
    .pd-switch input:checked + .slider {
        background-color: var(--pd-primary, #356ae6);
    }

        /* Move knob when checked */
        .pd-switch input:checked + .slider::before {
            transform: translateX(20px);
        }

    /* Focus/hover states */
    .pd-switch:hover .slider {
        background-color: #b3b3b3;
    }

    .pd-switch input:focus + .slider {
        box-shadow: 0 0 1px var(--pd-primary, #356ae6);
    }

.pd-filter:has(.pd-switch) .pd-filter-header {
    float: left;
}

.pd-parent:has(.pd-subcats), .pd-nested-filter-tree {
    margin: 10px 0px;
}

/*Load More*/
.pd-loadmore-wrapper {
    text-align: center;
    margin: 20px 0;
}

.pd-loadmore-btn {
    background-color: var(--pd-primary, #356ae6);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

    .pd-loadmore-btn:hover {
        background-color: #274bb8;
    }

    .pd-loadmore-btn:active {
        transform: scale(0.98);
    }

	.gridview.pd-items{
		grid-template-columns:repeat(1,1fr)!important;
    }
@media (max-width: 768px) {
    .pd-loadmore-btn {
        width: 90%;
        font-size: 16px;
	}
}
